﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title><link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}formui.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}admin-all.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}base.css"/>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-1.7.2.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-ui-1.8.22.custom.min.js"></script>
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}ui-lightness/jquery-ui-1.8.22.custom.css" />    
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery.ui.datepicker-zh-CN.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-ui-timepicker-addon.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-ui-timepicker-zh-CN.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}Validform_v5.3.2_min.js"></script>
    <style type="text/css">
        .auto-style1 {
            height: 26px;
        }
    </style>
    
    
</head>
<body>
    <div class="alert alert-info">当前位置<b class="tip"></b>服务管理<b class="tip"></b>服务归档</div>
<div class="form-div search_form_div">
    <form  method="GET" name="search_form">
		<p>
			客户名称：
	   		<input type="text" name="client_name" size="12" value="{$Think.get.client_name}"/>
		&nbsp;&nbsp;
			概要：
	   		<input type="text" name="outline" size="21" value="{$Think.get.outline}" />
		&nbsp;&nbsp;
			服务类型：
                    <select name="type" >
                        <volist name='typeData' id='v'>
                        <option>{$v['value']}</option>
                        </volist>
                    </select>
		&nbsp;&nbsp;
			创建时间：
	   		从 <input id="stime" type="text" name="stime" size="15" value="{$Think.get.stime}" /> 
		    到 <input id="btime" type="text" name="btime" size="15" value="{$Think.get.btime}" />
		&nbsp;&nbsp;
			状态：
                        <select name='status'>
                            
                            <option {$status=='新建'?'selected':''}>新建</option>
                            <option {$status=='已分配'?'selected':''}>已分配</option>
                            <option {$status=='已处理'?'selected':''}>已处理</option>
                            <option {$status=='已归档'?'selected':''}>已归档</option>
                        </select>  &nbsp;&nbsp;
		<input type="submit" value=" 搜索 " class="btn" /></p>
    </form>
</div>
<!-- 列表 -->
<div class="list-div" id="listDiv">
	<table class="tb" id="top" cellspacing="1" cellpadding="3" width="100%">
    	<tr>
            <th >编号</th>
            <th >客户</th>
            <th >概要</th>
            <th >服务类型</th>
            <th >创建时间</th>
            <th >创建人</th>
            <th >状态</th>
			<th width="60">操作</th>
        </tr>
		<volist name='data' id='v'>
                <form name="main_form" method="POST" action="__SELF__" >
			<tr class="tron">
				<td>{$v['sid']}</td>
				<td>{$v['client_name']}</td>
				<td>{$v['outline']}</td>
				<td>{$v['type']}</td>
				<td>{$v['create_time']|date="Y-m-d H:i",###}</td>
				<td>{$v['create_name']}</td>
				<td>{$v['status']}</td>
		        <td align="center">
	                <a class="btn" id="Button3"  href="{:U('onBooking',array('id'=>$v['id'],'p'=>$p))}" >查看详情</a> 
		        </td>
	                </tr>
                </form>
                </volist>
		<if condition="(preg_match('/\d/', $page))">  
                <tr><td align="right" nowrap="true" colspan="99" height="30">{$page}</td></tr> 
                </if> 
	</table>
</div>
<script>
$( "input[name='stime']" ).datetimepicker();
$( "input[name='btime']" ).datetimepicker();
</script>